msg command is not wokring  with System Name
Hi, I am trying to send message using msg command in windows 7. If I am using IP address to send message then it is working fine but when I am using System name then it is giving message like- "Error 5 getting session name." Please suggest me . Thanks in advance.
May 28th, 2012 5:30am

1. Open the Registry Editor. 2. In the left pane, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server 3. In the right pane, ensure value of AllowRemoteRPC key is 1. If not, please change it to 1. 4. Quit Registry Editor and Reboot the computer. 5. Run MSG command in a elevated CMD window.
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 5:49am

Yes, I have done same setting also but it is not sending message using System Name. using IP address it is working fine.
May 28th, 2012 6:53am

How did you covered DNS name resolution?
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 4:29pm

Hi, Here are several discussions can be referred to. Solution to Msg.exe Error 5 getting session names http://blog.umito.nl/index.php/2010/02/20/solution-to-msg-exe-error-5-getting-session-names/ http://blog.netnerds.net/2007/05/vista-net-send-is-gone-use-msg-console-instead/ http://www.winserverkb.com/Uwe/Forum.aspx/windows-ts/6366/Access-is-denied-when-using-MSG-exe Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. Ivan-Liu TechNet Community Support
May 29th, 2012 4:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics